import http from '@/utils/common/http'

/**
 * 普通密码方式注册
 * */
export async function register (data) {
  return http({
    method: 'post',
    url: '/auth/user/register',
    header: {
      'Content-Type': 'application/json;charset=utf-8'
    },
    data
  })
}
/**
 * 普通密码方式注册
 * */
export async function getIdentityCode (data) {
  return http({
    method: 'post',
    url: '/auth/user/registerIdentifyingCode',
    header: {
      'Content-Type': 'application/json;charset=utf-8'
    },
    data
  })
}
